package com.it.jnxy.Service;


import com.it.jnxy.Mapper.LoginMapper;
import com.it.jnxy.Pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService{
    @Autowired LoginMapper loginMapper;
    @Override
    public User Login(User user) {
        return loginMapper.getByUsernameAndPssword(user);
    }
}
